//
//  HJAddVC.h
//  project
//
//  Created by hu on 2019/3/21.
//  Copyright © 2019 健健. All rights reserved.
//

#import "HJBaseViewController.h"
#import <Photos/Photos.h>


typedef NS_ENUM(NSUInteger, YFDongtaiType) {
    YFDongtaiTypeImages,
    YFDongtaiTypeVideo,
};

NS_ASSUME_NONNULL_BEGIN

@interface HJAddVC : HJBaseViewController

/**
 动态类型 图片或视频
 */
@property (nonatomic, assign) YFDongtaiType dongtaiType;

/**
 动态图片类型 多张图片 数组
 */
@property (nonatomic, strong) NSArray <UIImage *> *photos;

/**
 动态图片类型 多个 PHAsset 获取 imageData
 */
@property (nonatomic, strong) NSArray <NSData *> *imageDatas;

/**
 动态视频类型 cover图片
 */
@property (nonatomic, strong) UIImage *videoCoverImage;

/**
 动态视频类型 获取视频 URL, 从拍摄中传过来
 */
@property (nonatomic, strong) NSURL *videoURL;

/**
 视频播放时长
 */
@property (nonatomic, assign) long long videoDuration;
@property (nonatomic,strong) NSArray <PHAsset* >* assets;
@property (nonatomic,assign) BOOL ispush;
@end

NS_ASSUME_NONNULL_END
